<script>
	//app.js
	export default {
		data() {
			return {};
		},
		globalData: {
			CustomBar: 0,
			StatusBar: 0,
			Custom: ''
		},
		onLaunch() {
			let that = this
			uni.getSystemInfo({
				success(res) {
					console.log(res)
					that.globalData.CustomBar = 50 + res.statusBarHeight
					that.globalData.StatusBar =  res.statusBarHeight
					that.globalData.Custom = res
				}
			})
		}
	};
</script>
<style>
	@import './app.css';
</style>
